package org.yuxiong.utils.mail;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class MailAuthenticator extends Authenticator {
    
    public static String HUAWEI_MAIL_USER = "yuxiong023";
    public static String HUAWEI_MAIL_PASSWORD = "791216";
    
    public MailAuthenticator(){}
    
    protected PasswordAuthentication getPasswordAuthentication(){
        return new PasswordAuthentication(HUAWEI_MAIL_USER,HUAWEI_MAIL_PASSWORD);
    }
    
}